package main;

import Engine.Ajuste;
import View.Endereco;
import View.Load;
import View.Login;
import View.Novo;
import View.Solucao;
import View.Ver;
import java.awt.Color;

public class Start {  
    
    public static void startPrincipalMaximized(){
        Novo principal = new Novo();
        principal.getContentPane().setBackground(Color.white);
        principal.setExtendedState(Novo.MAXIMIZED_BOTH);               
        principal.setVisible(true);        
    }
    
    public static void startPrincipal(){
        Novo principal = new Novo();
        principal.getContentPane().setBackground(Color.white);  
        Ajuste ajuste = new Ajuste();
        ajuste.telefoneFormatt();        
        principal.setVisible(true);
    }
    
    public static void startLoad(){
        Load load = new Load();
        load.getContentPane().setBackground(Color.white);
        load.setVisible(true);        
    }
    
    public static void startLogin(){        
        Login login = new Login();
        login.getContentPane().setBackground(new Color(0, 153, 51));
        login.setVisible(true);
    }
    
    public static void startEndereco(){
        Endereco end = new Endereco();
        end.getContentPane().setBackground(new Color(0, 153, 51));
        end.setVisible(true);
    }
    
    public static void startSolucao(){
        Solucao sol = new Solucao();
        sol.getContentPane().setBackground(new Color(0, 153, 51));
        sol.setVisible(true);
    }
    
    public static void startVer(){
        Ver ver = new Ver();
        ver.getContentPane().setBackground(new Color(0, 153, 51));
        ver.setExtendedState(Novo.MAXIMIZED_BOTH); 
        ver.setVisible(true);
    }
    
}
